package cn.psvmc.cxzapi.model.order;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 订单优惠券表
 * @Author auto
 * @Date 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_order_coupon")
public class TOrderCoupon implements Serializable {

    //订单优惠券id
    @TableId(value = "ocid", type = IdType.AUTO)
    private Integer ocid;

    //订单id
    @TableField("order_id")
    private Integer orderId;

    //优惠券id
    @TableField("couponid")
    private Integer couponid;

    //券码
    @TableField("voucher_code")
    private String voucherCode;

    //外部业务单号
    @TableField("out_biz_no")
    private String outBizNo;

    //活动id
    @TableField("activity_id")
    private String activityId;

}
